/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config )
{
	config.toolbar = [
[ 'Source', 'Templates' ],//, '-', 'Preview', '-'
                 
[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', ],//'-','Print','SpellChecker', 'Scayt' 
                 
[ 'Undo', 'Redo', '-', 'Find', 'Replace', '-','RemoveFormat' ],// 'SelectAll',
                 
[ 'Checkbox', 'Radio', 'TextField','Textarea', 'Button' ], //'Form','ImageButton','HiddenField''Select', 
[ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript','Superscript' ],
                 
[ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', ],//'Blockquote', 'CreateDiv'
                 
'/',            
[ 'Styles', 'Format', 'Font', 'FontSize' ],               
                 
[ 'TextColor', 'BGColor' ],
                 

[ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ],
                                
[ 'Link', 'Unlink' ],// 'Anchor'
                 
['Image',  'Table','HorizontalRule','SpecialChar', 'PageBreak' ],// 'Smiley',
[ 'Maximize'],
];//'-', 'About' , 'ShowBlocks'
    // Define changes to default configuration here. For example:
    // config.language = 'fr';
    config.uiColor = '#F1F5F2';
    config.removeDialogTabs = 'image:advanced;image:Link;'; 
    // �ļ����
    config.filebrowserFlashBrowseUrl = "/Home/Index/ckaddimg";
    config.filebrowserImageUploadUrl  = "/h.php/ajax/upload2";
	
	config.autoParagraph = false;
    config.enterMode = CKEDITOR.ENTER_BR;
	config.shiftEnterMode = CKEDITOR.ENTER_P;
	// 设置宽高
   
    config.height = 400;
};
